Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#316906 - 03/12/2008 17:00 [hijack] player gets stuck
jcm
new poster

Registered: 27/08/2005
Posts: 49
Hi FYI,

I was playing with Restore DC Visuals on the hijack menu the other day when, following a reboot, the player (just the player software itself - seemingly playing a track but in fact not, no menu response, but hijack/kernel were alive and I could kill the player if I got in a ctrl-c early enough following a reboot before it started opening its database files) became stuck. It could no longer remount /dev/hda4 re-writeable either without blocking pretty much forever, although the filesystem was marked clean. I was able to remove and test the disk, at which point in my frustration, I simply reformatted it and re-installed. The disk seemed perfectly ok on a desktop Linux box.

Not yet had time to look, but I'm assuming that hijack uses the config file in /drive0/var/config and does some file related system calls directly from in-kernel. I don't see how that could have broken the filesystem, but perhaps some state was saved that caused the player software to become unhappy.

Just an FYI.

Jon.


Edited by jcm (03/12/2008 17:04)

Top
#316908 - 03/12/2008 17:07 Re: [hijack] player gets stuck [Re: jcm]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31570
Loc: Seattle, WA
And you're sure it wasn't just this well-known issue?

I have trouble believing that Hijack's behavior could screw up the filesystem to the point of sticking the player like that, especially after a power cycle. That kind of bug would not be characteristic of Mark's work on the kernel to date.
_________________________
Tony Fabris

Top
#316912 - 03/12/2008 17:16 Re: [hijack] player gets stuck [Re: tfabris]
jcm
new poster

Registered: 27/08/2005
Posts: 49
Nah, it was playing a track it had played...er (let's just say) "many" times before smile Oh, and I'm not criticising Mark...hijack is a thing of beauty. I'm just wondering if it might for example ever cause a filesystem to get remounted read-write to update a settings file, and (for example) therefore react badly to a power failure...or similar. I haven't poked enough yet.

Top
#316922 - 03/12/2008 18:14 Re: [hijack] player gets stuck [Re: jcm]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
You're the first person to have this problem if it is something to do with Mark's kernel.

It just reads the config file. It doesn't write it. Most of the settings are kept in flash.

Top
#316932 - 03/12/2008 20:35 Re: [hijack] player gets stuck [Re: jcm]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
No. Never.

Top
#316934 - 03/12/2008 20:56 Re: [hijack] player gets stuck [Re: jcm]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31570
Loc: Seattle, WA
Originally Posted By: jcm
It could no longer remount /dev/hda4 re-writeable either without blocking pretty much forever, although the filesystem was marked clean.


So Mark, can you think of conditions under which the above could occur?
_________________________
Tony Fabris

Top
#316935 - 03/12/2008 21:13 Re: [hijack] player gets stuck [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
The kernel normally "blocks" mounting of /dev/hda4 while it does a filesystem check -- this gets triggered frequently after the max-mount count or max-mount time expires. When mounting manually, use the "nocheck" option to skip such unnecessary checks (which is what Hijack causes to happen on the player itself when the Filesystem Check on Sync menu entry is used.

Top
#316937 - 03/12/2008 21:15 Re: [hijack] player gets stuck [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14482
Loc: Canada
For the original problem of the player "sticking", it's probably just a corrupted mp3, or bad data in the corresponding sector of the dynamic data partitiion --> which the player software DOES write to under normal operation.

-ml

Top